<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
		<form class="form-horizontal m" id="form-order-addFollow">
			<div class="form-group">
				<label class="col-sm-3 control-label">拜访类型：</label>
				<div class="col-sm-8">
					<select class="form-control" name="visitType" id="visitType"
						onchange="changeSelect()">
						<option value="" selected="selected">请选择</option>
						<option th:each="visit : ${visitList}"
							th:value="${visit.dictCode}" th:text="${visit.dictLabel}"></option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">拜访时间：</label>
				<div class="col-sm-8">
					<input id="visitTime" name="visitTime" class="form-control"
						type="text">
					<div class="col-sm-8">
						<div class="form-group">
							<div class="input-group date">
								<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
								<input name="visitTime" type="text" class="form-control"
									value="2018-05-20">
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">拜访记录：</label>
				<div class="col-sm-8">
					<input id="visitRecord" name="visitRecord" class="form-control"
						type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<input id="visitRemark" name="visitRemark" class="form-control"
						type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">下次约定时间：</label>
				<div class="col-sm-8">
					<input id="visitTimeNest" name="visitTimeNest" class="form-control"
						type="text">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-8 col-sm-offset-3">
					<button type="submit" class="btn btn-primary">提交</button>
				</div>
			</div>
		</form>
	</div>
	<div th:include="include::footer"></div>
	<script src="/azxcrm/module/order/addFollow.js"
		th:src="@{/azxcrm/module/order/addFollow.js}"></script>
	<script src="/ajax/libs/iCheck/icheck.min.js"
        th:src="@{/ajax/libs/iCheck/icheck.min.js}"></script>
	<script src="/js/jquery-ui-1.10.4.min.js"
		th:src="@{/js/jquery-ui-1.10.4.min.js}"></script>
	<script src="/ajax/libs//datapicker/bootstrap-datepicker.js"
		th:src="@{/ajax/libs//datapicker/bootstrap-datepicker.js}"></script>
    <script src="/ajax/libs/beautifyhtml/beautifyhtml.js"
		th:src="@{/ajax/libs/beautifyhtml/beautifyhtml.js}"></script>
	<script src="/ajax/libs/select/select2.js"
		th:src="@{/ajax/libs/select/select2.js}"></script>
<script>
        $(".input-group.date").datepicker({
            todayBtn : "linked",
            keyboardNavigation : !1,
            forceParse : !1,
            calendarWeeks : !0,
            autoclose : !0
        });
    </script>

</body>
</html>
